package com.dms.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.dms.common.annotation.Excel;
import com.dms.common.core.domain.BaseEntity;

/**
 * 每日任务对象 sys_today_mission
 * 
 * @author xlong_zhu
 * @date 2021-04-05
 */
public class SysTodayMission extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 每日任务表编号 */
    private Long todayMissionId;

    /** 任务编号 */
    @Excel(name = "任务编号")
    private Long missionId;

    /** 每日任务开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "每日任务开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date todayStartTime;

    /** 每日任务结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "每日任务结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date todayEndTime;

    /** 每日任务是否完成：0. 未完成 1. 已完成 */
    @Excel(name = "每日任务是否完成：0. 未完成 1. 已完成")
    private Integer missionIscomplete;

    public void setTodayMissionId(Long todayMissionId) 
    {
        this.todayMissionId = todayMissionId;
    }

    public Long getTodayMissionId() 
    {
        return todayMissionId;
    }
    public void setMissionId(Long missionId) 
    {
        this.missionId = missionId;
    }

    public Long getMissionId() 
    {
        return missionId;
    }
    public void setTodayStartTime(Date todayStartTime) 
    {
        this.todayStartTime = todayStartTime;
    }

    public Date getTodayStartTime() 
    {
        return todayStartTime;
    }
    public void setTodayEndTime(Date todayEndTime) 
    {
        this.todayEndTime = todayEndTime;
    }

    public Date getTodayEndTime() 
    {
        return todayEndTime;
    }
    public void setMissionIscomplete(Integer missionIscomplete) 
    {
        this.missionIscomplete = missionIscomplete;
    }

    public Integer getMissionIscomplete() 
    {
        return missionIscomplete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("todayMissionId", getTodayMissionId())
            .append("missionId", getMissionId())
            .append("todayStartTime", getTodayStartTime())
            .append("todayEndTime", getTodayEndTime())
            .append("missionIscomplete", getMissionIscomplete())
            .toString();
    }
}
